package com.demo.component;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author krystal
 * @date 2023/3/7 8:51
 */
@Component
public class CComponent {
    @PostConstruct
    public void postConstruct(){
        System.out.println("执行了C对象的postConstruct方法");
    }
}
